[R] Fatal Error: INVALID HOMEDRIVE

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Apr 23 21:42:28 CEST 2004



Brett Melbourne wrote:
> 
> I can also start 1.8.1 and 1.9.0 properly in a similar way to that described
> here by Vinyard, by typing the following at the command prompt or from a
> batch file.
> 
> SET HOMEPATH=\
> "C:\Program Files\R\rw1090\bin\Rgui.exe"
> 
> However, both 1.8.1 and 1.9.0 still fail in the usual way when started from
> the program icon


Well, using "set" in the shell only sets the variable in this current
instance of the shell.
It does not set the variable for all instances. And you are running in
another instance when clicking on an icon ...

You might want to set an appropriate HOMEPATH in your Control Panel (I
think in System).

Uwe Ligges


> (I have confirmed, by SET, before and after failing that
> HOMEPATH is properly set). I observe the same behaviour when HOME=C:\ is
> set.
> 
> Brett
> 
> ----- Original Message -----
> From: "Vinyard Maj William C" <VinyardWC at logcom.usmc.mil>
> To: <r-help at stat.math.ethz.ch>
> Sent: Friday, April 23, 2004 4:54 AM
> Subject: [R] Fatal Error: INVALID HOMEDRIVE
> 
> > As requested:
> >
> > set > eviron.txt
> >
> > ALLUSERSPROFILE=D:\Documents and Settings\All Users
> > APPDATA=D:\Documents and Settings\vinyardwc\Application Data
> > CMP_HOME=C:\PROGRA~1\DIICOE~1
> > CommonProgramFiles=C:\Program Files\Common Files
> > COMPUTERNAME=MATCOM08WK072
> > ComSpec=C:\WINNT\system32\cmd.exe
> > HOMEDRIVE=C:
> > HOMESHARE=\\matcomapps05\users
> > LOGONSERVER=\\MATCOMDC03
> > NUMBER_OF_PROCESSORS=1
> > OS=Windows_NT
> > Os2LibPath=C:\WINNT\system32\os2\dll;
> > Path=d:\docume~1\vinyardwc\gnuwin32\bin;d:\docume~1\vinyardwc\gnu\bin;
> > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> > PBXHOME=C:\PBrokerX
> > PROCESSOR_ARCHITECTURE=x86
> > PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 3, GenuineIntel
> > PROCESSOR_LEVEL=15
> > PROCESSOR_REVISION=0103
> > ProgramFiles=C:\Program Files
> > PROMPT=$P$G
> > RESOURCENAME=DIICOE
> > SMS_LOCAL_DIR=C:\WINNT
> > SMS_LOCAL_DIR_USER=C:\WINNT
> > SystemDrive=C:
> > SystemRoot=C:\WINNT
> > TEMP=D:\DOCUME~1\VINYAR~1\LOCALS~1\Temp
> > TMP=D:\DOCUME~1\VINYAR~1\LOCALS~1\Temp
> > UCP_HOME=..\data\UCP
> > USERDOMAIN=MATCOM
> > USERNAME=VinyardWC
> > USERPROFILE=D:\Documents and Settings\vinyardwc
> > windir=C:\WINNT
> > WORKDIRECTORY=C:\Program Files\DII COE Message Processor\bin
> >
> > I use a DELL desktop with Win 2000 Pro.  I have R-1.9.0 installed.  A
> > co-worker has R-1.8.1 installed on a Dell laptop also with Win 2000 Pro.
> He
> > has not experienced any problems. Our network admin push updates over the
> > net at night.  I assume the netadmin pushes the same updates to both
> > machines.
> >
> > I changed my batch file from:
> >
> > SET HOMEDRIVE=D:
> > SET HOMEPATH=\Documents and Settings\vinyardwc\My Documents\Rwork\work
> > Rgui.exe
> >
> > to:
> >
> > @SET HOMEPATH=\Documents and Settings\vinyardwc\My Documents\Rwork\work
> > @ Start Rgui.exe
> >
> > The second version works.
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list