Re: [R-SIG-Mac] mac-shell-r

2010-09-16 Thread Martin Renner
Hi Liv,

I use rsync to upload my scripts + data to a linux server, then ssh to start 
the run and rsync again to fetch results. All of this can be wrapped into a 
shell script. 

HTH,

Martin



On 8 Sep 2010, at 1:08 , Yingjie Zhang wrote:

 Dear all,
 
 I 've gotten a serious question, I have a iMac for work, and now I need to 
 run some simulations in R on our sever, which has the system of Linux, the 
 problem is: I can't copy the code from R script to R console! Anyone know the 
 way?
 
 Thanks very much,
 Liv 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@stat.math.ethz.ch
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[R-SIG-Mac] R on iPad

2010-09-16 Thread Jan de Leeuw
If you want your Mac to run Revolution R Enterprise, or some of the CUDA/GPU
packages that run best under Linux, then this can of course be done
by running the appropriate OS in an emulator such as Parallels 
Desktop.

Parallels now also has Parallels Mobile for the iPad, which is
basically a screen sharing app. You have a Parellels running on
a remote desktop that you login to from the iPad, and then you
start (for example) Revolution R from your iPad, and you can enter 
commands directly into the R interpreter from the iPad keyboard. 
Before the end of the year you'll also be able to print remotely.

It's still clunky, but it can be done. And it can be done over 3G as
well.

===
Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of Statistics;
Director: UCLA Center for Environmental Statistics (CES);
Editor: Journal of Multivariate Analysis, Journal of Statistical Software;
US mail: 8125 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: dele...@stat.ucla.edu
.mac: jdeleeuw ++  aim: deleeuwjan ++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++ http://www.cuddyvalley.org
 
-
  No matter where you go, there you are. --- Buckaroo Banzai
   http://gifi.stat.ucla.edu/sounds/nomatter.au 
 
 
-


___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[R-SIG-Mac] stupid question on abline

2010-09-16 Thread steven mosher
I must be missing something very obvious

 data -ts(rnorm(120,0,1),start=1900,frequency=12)
 plot(data)
 abline(a=0,b=1)

# draws nothing
abline(a=0,b=0)  #works
abline(a=1,b=0)  #works
abline(a=0,b=.5) # doesnt work

abline will only draw if b=0
 sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

other attached packages:
 [1] zyp_0.9-1 Kendall_2.1   rgdal_0.6-26  zoo_1.6-4
ncdf_1.6  R.utils_1.5.0 uncompress_1.34   R.oo_1.7.3
 [9] R.methodsS3_1.2.0 maps_2.1-4raster_1.5-4  sp_0.9-66

loaded via a namespace (and not attached):
[1] grid_2.11.1lattice_0.18-8 tools_2.11.1
 abline(a=0,b=0)

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] stupid question on abline

2010-09-16 Thread steven mosher
ha. thanks for a smart answer to a stupid question

On Thu, Sep 16, 2010 at 12:10 PM, Steven McKinney smckin...@bccrc.cawrote:

 Hi Steven,

 Try

 abline(a = -1905/2, b = 0.5)

 R is drawing abline(a = 0, b = 0.5) but it is entirely off the screen as
 the x limits are 1900 to 1910.

 It appears that abline only works for b = 0 as those were your only
 attempts that yielded
 a line within the plot frame.

 Steven McKinney

 
 From: r-sig-mac-boun...@stat.math.ethz.ch [
 r-sig-mac-boun...@stat.math.ethz.ch] On Behalf Of steven mosher [
 mosherste...@gmail.com]
 Sent: September 16, 2010 12:04 PM
 To: r-sig-mac@stat.math.ethz.ch
 Subject: [R-SIG-Mac] stupid question on abline

 I must be missing something very obvious

  data -ts(rnorm(120,0,1),start=1900,frequency=12)
  plot(data)
  abline(a=0,b=1)

 # draws nothing
 abline(a=0,b=0)  #works
 abline(a=1,b=0)  #works
 abline(a=0,b=.5) # doesnt work

 abline will only draw if b=0
  sessionInfo()
 R version 2.11.1 (2010-05-31)
 x86_64-apple-darwin9.8.0

 locale:
 [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

 attached base packages:
 [1] stats graphics  grDevices utils datasets  methods   base

 other attached packages:
  [1] zyp_0.9-1 Kendall_2.1   rgdal_0.6-26  zoo_1.6-4
 ncdf_1.6  R.utils_1.5.0 uncompress_1.34   R.oo_1.7.3
  [9] R.methodsS3_1.2.0 maps_2.1-4raster_1.5-4  sp_0.9-66

 loaded via a namespace (and not attached):
 [1] grid_2.11.1lattice_0.18-8 tools_2.11.1
  abline(a=0,b=0)

 [[alternative HTML version deleted]]

 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@stat.math.ethz.ch
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac