Displaying 2 results from an estimated 2 matches for "thisscript".
2007 May 09
3
Scripting question
I'm writing a script that has logging via a simple routine:
LogIt() {
Msg="$1"
echo "$THISSCRIPT: $Msg"
echo "$Msg" >>$LogFile
}
#A portion of this script sends a file via ftp:
#
ftp -vn >$tempfile <<$$EOD
:
:
$$EOD
#Then reads the temporary file to log
while read line
do
LogIt $line
Done <$tempfile
rm -f $tempfile
---------------------------------...
2007 Feb 08
3
Running source from Unix line
How can I run something like source("filename") from the Unix command line?
Maybe somthing like ./R CMD source("filename") - this does not work.
I need to run an R source code file with a command from the Unix command
line.
assuming that I have R installed on my system.
Thank you all
Amir.
--
View this message in context: