[R] confidence interval

2020-04-26 Thread Alex Serafim
there is a function called "confbands", which is no longer available in software R. It is not "confband" or "confBands", but "confbands", I need to use this object to add confidence intervals in my work. Why is this function not available? attached is an image that shows how the graph should look,

Re: [R] Structuring Inventory in R

2019-08-28 Thread Alex Naverniak
You are right. On Wed, Aug 28, 2019 at 10:34 AM Jeff Newmiller wrote: > Why do you need to do this? It sounds like homework. Using multiple > columns as lookup keys is the normal way this is handled. > > On August 28, 2019 7:10:34 AM PDT, Alex Naverniak > wrote: > >Thank y

Re: [R] Structuring Inventory in R

2019-08-28 Thread Alex Naverniak
t;38447769","43759115") ) > > Lists are not as easy to optimize performance with as tables are... unless > you have a specific reason to use them I would minimize your use of > single-element items in lists. > > On August 27, 2019 9:49:28 PM PDT, Jim Lemon wrote:

[R] Structuring Inventory in R

2019-08-27 Thread Alex Naverniak
Hi, I am trying to create Inventory structure with item SKU and 3 subitems like "Price"; "Qty"; "ID". I tried list(SKU,list("Item1","Item2","Item3")). It seem not to work. Please help with ide

Re: [R] Scaling - does it get any better results than not scaling?

2018-07-17 Thread Alex Zarebski
ing can be useful as a way of understanding your data better. Cheers, Alex On Tue, Jul 17, 2018 at 4:58 PM Michael Thompson < michael.thomp...@manukau.ac.nz> wrote: > Hi, > I seem to remember from classes that one effect of scaling / standardising > data was to get better results in a

Re: [R] Forecasting methods in R

2018-07-12 Thread Alex Zarebski
Hey, You should probably check out the =forecast= package which is pretty close to a default solution as you'll find. https://cran.r-project.org/web/packages/forecast/ If you google around this you should find some useful stuff. Cheers, Alex On Fri, Jul 13, 2018 at 12:15 PM Amitabh Kuma

Re: [R] Calling r-scripts with arguments from other scripts, or possibly R programming conventions/style guide

2018-06-13 Thread Alex Zarebski
ugh. Also, "argparse" (available through CRAN) provides some tools for parsing command line arguments. It is very similar to the python package of the same name which might be more familiar. Cheers, Alex On Thu, Jun 14, 2018 at 2:27 AM, William Dunlap via R-help < r-help@r-project.org&g

Re: [R] open help files from Terminal

2018-06-08 Thread Alex Zarebski
e an alias. Cheers, Alex On Fri, Jun 8, 2018 at 1:47 AM, Dmitri Popavenko wrote: > Dear Sarah, dear David, > > Thank you very much indeed, this is exactly what I needed. > > Best, > Dmitri > > On Thu, Jun 7, 2018 at 6:39 PM, Sarah Goslee > wrote: > > > Here a

Re: [R] par(mfrow=c(3,4)) problem

2018-05-30 Thread Alex Zarebski
You might find the patchwork library helpful (plot_layout function) https://github.com/thomasp85/patchwork I'm not sure if it's on CRAN but you can devtools::github_install it. Cheers, Alex On Wed, May 30, 2018 at 6:42 PM, greg holly wrote: > Hi all; > > I need to put 12 d

Re: [R] options other than regex

2018-05-25 Thread Alex Zarebski
The stringr package might beof interest to you (and I think magrittr makes it more readable). > library(stringr) > library(magrittr) > '10110111' %>% str_split('') %>% unlist %>% str_flatten('.') [1] "1.0.1.1.0.1.1.1" Note that the unlist is there because we are only applying this to a single str

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Alex Restrepo
Ligges mailto:lig...@statistik.tu-dortmund.de>> wrote: On 31.10.2017 00:56, Alex Restrepo wrote: ... 45 degree rotation is not supported in base R graphics and scatterplot3d uses that. [[alternative HTML version deleted]] __ R-help@r

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Alex Restrepo
question. Regards, Alex On Oct 31, 2017, at 4:13 PM, David Winsemius mailto:dwinsem...@comcast.net>> wrote: On Oct 31, 2017, at 8:55 AM, Olivier Crouzet mailto:olivier.crou...@univ-nantes.fr>> wrote: Hi Alex, this should be related to the "las" argument of "par()&quo

[R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-30 Thread Alex Restrepo
Hi, I would like to rotate the x axis tick labels by 45 degrees. Using the code below, could someone please provide an example? Many Thanks In Advance, Alex library("scatterplot3d") mydf=data.frame(rate=seq(158, 314) ,age=seq(1, 157) ,market_date=s

[R] 3D Plot with Date Axis?

2017-10-27 Thread Alex Restrepo
lot3d function. Using the above example, could someone please provide me with some guidance and help? Many Thanks, Alex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat

Re: [R] Packages for Learning Algorithm Independent Branch and Bound for Feature Selection

2017-07-01 Thread Alex Byrley
ribed out there somewhere... Alex Byrley Graduate Student Department of Electrical Engineering 235 Davis Hall (716) 341-1802 2017-07-01 3:53 GMT-04:00 Enrico Schumann : > On Thu, 29 Jun 2017, Alex Byrley writes: > > > I am looking for packages that can run a branch-and-bound algori

[R] Packages for Learning Algorithm Independent Branch and Bound for Feature Selection

2017-06-29 Thread Alex Byrley
-defined size that maximizes a distance criteria such as those stated above. Can anyone give some suggestions? Alex Byrley Graduate Student Department of Electrical Engineering 235 Davis Hall (716) 341-1802 [[alternative HTML version deleted

[R] Exercise in R

2017-06-09 Thread Alex Ferrara
Hi i need some help with this exercise: FIles: https://mega.nz/#!JxMFGIwC!qA85SBIBRVagCzYfmLwSvGuNK_qXqCXrakPxXryCpGg #PARZIAL 3: GEO #Data: # Shapefile "INCOME" contains dummy information about revenue # Common Abbreviations in the "INCOME" variable and the centroid altitude #dell common in the

[R] Implementations of bootstrap aggregation

2017-04-26 Thread Alex Fun
, Alex __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

[R] issues with R raster temporary files

2016-06-22 Thread Alex Thorn
Files` and also looked at the files sticking around, I think the problem is that temporary files are being generated without a prefix (i.e. the file name just starts with the date), but I'm not sure why this is happening or how to fix it. Any advice? Thanks, Alex

[R] [R-pkgs] announcing maps version 3.1.0

2016-02-17 Thread Alex Deckmyn
hapefile data (e.g. readShapePoly() from the maptools package) and pass the result to map(). FIXES: - map(...,fill=TRUE) will no longer apply thinning to the map. The thinning caused polygons to have non-matching borders. For large databases (e.g. the complete worldHires database) this may hav

[R] Options for running Hausman-Taylor with robust standard errors

2015-11-13 Thread Alex I
st granted necessity of robust standard errors. What are my options, perhaps using other simple packages in R, to calculate a Hausman-Taylor using robust standard errors for my panel data regression? I’m not really sure if sharing data or much code will help in this case. Alex [[altern

[R] [R-pkgs] Major update to 'maps': v3.0.0

2015-10-05 Thread Alex Deckmyn
asic name matching now use perl-style regular expressions. This may be exploited by using regular expressions to (un)select regions in the 'map()' functions directly, e.g. map(regions="(?!Antarctica)",fill=T) The README file and NEWS.Rd contain more details and examples.

[R] A Simple Question

2015-07-13 Thread Alex Kim
Hello, I am trying to create a matrix that looks like this, using the stri_locate_all function. > x <- "ABCDJAKSLABCDAKJSABCD" > m <- stri_locate_all_regex(x, 'ABCD') > m [[1]] start end [1,] 1 4 [2,]10 13 [3,]18 21 I tried converting m into a

[R] A simple question

2015-07-13 Thread Alex Kim via R-help
he first column and the end locations in the second column into a matrix to look like this. [,1] [,2] [1,] 1 4 [2,]10 13 [3,]18 21 Thank you for your help, Alex [[alternative HTML version deleted]] __ R-help@

[R] Matrix Manipulation

2015-07-04 Thread Alex Kim via R-help
Hi guys, Suppose I have an extremely large data frame with 2 columns and .5 mil rows. For example, the last 6 rows may look like this: . .. ... 89 100 93 120 95 125 101NA 115NA 123NA 124NA I would like to manipulate this data frame to output

[R] Matrix Manipulation R

2015-07-04 Thread Alex Kim
Hi guys, Suppose I have an extremely large data frame with 2 columns and .5 mil rows. For example, the last 6 rows may look like this: . .. ... 89 100 93 120 95 125 101NA 115NA 123NA 124NA I would like to manipulate this data frame to output

[R] Matrix Manipulation R

2015-07-04 Thread Alex Kim
Hi guys, Suppose I have an extremely large data frame with 2 columns and .5 mil rows. For example, the last 6 rows may look like this: . .. ... 89 100 93 120 95 125 101NA 115NA 123NA 124NA I would like to manipulate this data frame to output

[R] List of Rserve integrations

2015-05-17 Thread Alex Fun
visualisation/data analysis/reporting software that uses Rserve to connect to R. Best regards, Alex -- * Alex Fun * Resident Scientist * Email: * a...@glasshat.com * Website: * www.glasshat.com * Address: * Level 9, 70 Pitt Street Sydney NSW 2000 * Office: * 02 9114 9515 * Personal: * 02

[R] Example of Calling a DLL

2015-02-20 Thread Alex Restrepo
r LIB file ? I have tried to find an easy example, but thus far has no luck finding an example using Rcpp to communicate to a 3rd party visual studio DLL. Many Thanks in Advance, Alex __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] merging pre-sorted data frames

2015-01-14 Thread Alex Fun
/BatteriesO.O#. #.O#. with >> /Software/Embedded Controllers) .OO#. .OO#. >> rocks...1k >> >> --- >> >> > __

[R] Minimum system requirements for running R on a Windows PC

2015-01-09 Thread Alex Austin
sure I get something that can deal with it. For example, would a netbook be adequate? Or would I need something more powerful? Thanks for any help on this! Alex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

[R] RCurl much faster than base R

2014-12-05 Thread Alex Gutteridge
I'm trying to debug a curious network issue, I wonder if anyone can help me as I (and my local sysadmin) am stumped: This base R command takes ~1 minute to complete: readLines(url("http://bioconductor.org/biocLite.R";)) (biocLite.R is a couple of KB in size) Using RCurl (and so libcurl under

Re: [R] rgl and axes3d() labels

2014-04-24 Thread Alex Reynolds
Or perhaps the documentation could be updated to clear up what works and what doesn't. It seems pretty confusing to put options in the docs that do not work as described. -Alex > On Apr 24, 2014, at 4:05 AM, Duncan Murdoch wrote: > >> On 23/04/2014, 9:02 PM, Al

Re: [R] rgl and axes3d() labels

2014-04-23 Thread Alex Reynolds
xed in a future release! -Alex On Wed, Apr 23, 2014 at 5:34 PM, Duncan Murdoch wrote: > On 23/04/2014, 7:51 PM, Alex Reynolds wrote: > >> I am making an rgl-based 3d plot. It works fine, except when I try to >> remove axis value labels and tick marks with ax

[R] rgl and axes3d() labels

2014-04-23 Thread Alex Reynolds
27;, diffuse='#dd', specular='white') rgl.light(60, 30, ambient='#dd', diffuse='#dd', specular='black') filename <- paste("results/PCoA.labeled.pdf", sep="") rgl.postscript(filename, fmt="pdf") ---

[R] Foreign function interface

2014-04-19 Thread Alex van der Spek
I read the Foreign Function Interface for R. The documentation does not prescribe the calling convention though. Does that mean __stdcall on W32 and __cdecl for Linux? Regards, Alex van der Spek __ R-help@r-project.org mailing list https

[R] groupedData in nlme

2014-02-24 Thread Alex Dunn
2 + x3, random = list(~x1|ID, ~x2|ID, ~x3|ID), data=grouped) Thanks, Alex __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide comm

Re: [R] automation of an R script to run

2013-10-14 Thread Johnson, Alex
Thank you everyone for your help. I have managed to now figure it out by creating a batch file to run R. I can then schedule this batch file to run. Not sure if this is the best way of doing it but it seems to work for me. Thank you for the help Alex

[R] automation of an R script to run

2013-10-11 Thread Johnson, Alex
Hi, I was wondering if there is there a way you can schedule an R script to run automatically through a scheduled task in windows or similar?.. Would R have to be open on the user's PC or could it be closed providing we pointed it correctly at R?... Thank you Alex Alex Jo

[R] R Excel - Microsoft Excel is waiting for OLE action

2013-10-02 Thread Johnson, Alex
similar problem which they were able to solve? Or alternatively any idea of how to run an R script without the use of R Excel please? - through the command line?... Thank you for your help Alex Alex Johnson Operational Research Analyst The AA Automobile Association Devel

Re: [R] Using !is.na() in a HAVING clause in sqldf() XXXX

2013-08-28 Thread Alex Gilgur
Phil, sorry; I didn't see your response. You are right; the "IS" is superfluous On Wednesday, August 28, 2013 8:56:19 AM UTC-7, Alex Gilgur wrote: > > "having" is right; use "HAVING Premie IS NOT NULL" instead. The sqldf > package has a SQ

Re: [R] Using !is.na() in a HAVING clause in sqldf() XXXX

2013-08-28 Thread Alex Gilgur
"having" is right; use "HAVING Premie IS NOT NULL" instead. The sqldf package has a SQLite database running behind it. All NA get internally converted to NULL, which is the standard representation for N/A in SQL, and then they become in the data.frame that is returned by the sqldf command C

Re: [R] Automatic formula creation

2013-08-09 Thread Alex van der Spek
Thanks much to both Peter and Rui, I am afraid that after 5 years with R I am still not able to understand your method Peter. Will stick with Rui's method for now... Alex On 08/09/2013 04:00 PM, peter dalgaard wrote: On Aug 9, 2013, at 13:26 , Rui Barradas wrote: Hello, Mayb

[R] Automatic formula creation

2013-08-09 Thread Alex van der Spek
mber of terms changes. There ought to be a better way but I can't find it. Any help much appreciated! The full block of relevant code follows: Alex van der Spek + #Try all 3 band models nbands <- 5 freqs <- c('4', '

[R] cat(summary(lm(Y~x, dat = data))) cannot handle lists; dput writes too much...

2013-08-09 Thread Alex van der Spek
Is there a way to write the summary of lm objects to a text file on disk? cat won't handle the list, dput writes everything but not in human readable format. Any thoughts? Alex van der Spek __ R-help@r-project.org mailing list https://stat.et

Re: [R] list construction with automatic names

2013-07-04 Thread Alex van der Spek
>> I often find myself (wanting t)o constructing lists or >> data.frames > > Apologies; previous post should have said "Read R inforno on 'Growing > Objects'" and should have added the URL: > > http://www.burns-stat.com/pages/Tutor/R_inferno.pdf > > S Ellison > > > > ***

[R] list construction with automatic names

2013-07-04 Thread Alex van der Spek
Would there be a better way? Again, in python appending to a list is very easy but seems to be available in R only for vectors not lists? Any help much appreciated! Alex van der Spek __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[R] (no subject)

2013-05-28 Thread alex mutuku
hallo,i have a problem with running some code in R2Winbugs am getting the following error.Error in FUN(X[[2L]], ...)  What might be the problem.with kind regards.Alex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list htt

[R] R unable to access internet to install packages

2013-05-08 Thread Alex Collier
e general internet access. We are using a proxy server (TMG – Microsoft’s Threat Management Gateway). Can R work with a proxy server on the network? If so, how should this be configured so that a Network Administrator can make the appropriate changes? Thanks for your help. Regards, Alex Colli

[R] Lattice strip with custom shingle.interval

2013-03-18 Thread Alex van der Spek
Any help much appreciated. Alex van der Spek __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] zoo timeseries plot; minor tic mark level control

2012-11-26 Thread Alex van der Spek
st the abbreviated name of the month (Oct and Nov). How can I add minor tic marks for the individual days? All and any help or pointers welcome. Alex van der Spek __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

[R] Is there an lm() equivalent of panel.lmline()?

2012-10-30 Thread Alex van der Spek
: lmcal <- lm(Xvalues ~ log(Qvalues):Tfac, data = df7) Only one value of the intercept is returned. It appears as all the 'individual' intercepts are summed to form one overall intercept. Any help much appreciated! Regards, Alex van der Spek __

[R] error: unable to load installed packages

2012-10-14 Thread Alex Luya
alware.de/rj-1.1";) got this error: -- ** testing if installed package can be loaded Error : .onLoad failed in loadNamespace() for 'rj.gd', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/home/alex/R/x86_64-pc-linux-gnu-library

[R] write.csv with append = TRUE

2012-10-10 Thread Alex van der Spek
sv(Lbys[[c]], fo, append = TRUE) : attempt to set 'append' ignored Regards, Alex van der Spek __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-gu

Re: [R] Summary using by() returns character arrays in a list

2012-10-10 Thread Alex van der Spek
now. Modified the summary.data.frame method to output numeric values and not the character strings. The rownames I set afterwards in a for loop. Still would like to know how to do this internal to summary.data.frame though. Regards, Alex van der Spek > Hi > >> -Original Message-

[R] Summary using by() returns character arrays in a list

2012-10-10 Thread Alex van der Spek
ric matrices with as rownames the summary statistic's name ("Min.", "Max." etc) and as values the numeric values of the calculated summary statistic. Any help much appreciated! Regards, Alex van der Spek > str(Lbys) List of 2 $: 'table' chr [1:6, 1:19] &

[R] NA When Setting Options to See Fractions of Seconds

2012-10-09 Thread Alex Zhang
good way to generate timeDate with fractions of seconds from strings? I know I can just get the whole part of seconds and add fractions to it. That is a little bit unnecessarily awkward IMO. Thanks! - Alex Below is my whole session: R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"

Re: [R] Text to Speech In R

2012-10-04 Thread Alex Zhang
Thanks, Mike! I am on Windows for this project tho... - Alex From: R. Michael Weylandt To: Alex Zhang Cc: "r-help@r-project.org" Sent: Thursday, October 4, 2012 8:50 AM Subject: Re: [R] Text to Speech In R On Thu, Oct 4, 2012 at 1:31 PM, Alex Zh

Re: [R] Text to Speech In R

2012-10-04 Thread Alex Zhang
Jeff - so, do you mean that you are sure it can NOT AND SHOULD NOT? Thanks, - Alex From: Jeff Newmiller To: Alex Zhang ; Alex Zhang ; "r-help@r-project.org" Sent: Thursday, October 4, 2012 8:46 AM Subject: Re: [R] Text to Speech In R Why do you

[R] Text to Speech In R

2012-10-04 Thread Alex Zhang
or "Howdy". Do you know of any related function/package? Thanks, - Alex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

Re: [R] Coxph not converging with continuous variable

2012-09-02 Thread Keil, Alex
on asked anywhere, so I'm wondering if I'm just not seeing a mistake I've made. Any help is appreciated to get this model to converge. Code, output, sessionInfo follows signature. Alex Keil UNC Chapel Hill Here's an example: library(survival) set.seed(8182828) #data N =

[R] GAM and interpolation?

2012-08-06 Thread Alex Hotmail
ught that the non-parametric spline component of the GAM/GAMM models could have helped me interpolate and "fill the gaps". Did I miss something big? Are there solutions (without headache) or magical package I missed? Thank you for any help you could bring ! Alex

[R] Using at.level() with a MCMCglmm zero-inflated poisson model

2012-06-23 Thread Alex Ruder
I have a question for users of MCMCglmm that have experience implementing the zero-inflated poisson model. I find that the documentation, and previous questions, do not offer a lot of clear guidance on specifying and interpreting the zipoisson model. In particular, I see a lot of zero-inflated po

[R] R help!

2012-05-02 Thread Alex Roth
Date <- foo[ ,1] z$Time <- foo[ ,2] However, foo <- strsplit(" ", z$dt) isn't working. Do you know what the problem is? If you could respond soon, that would be greatly appreciated! Thanks so much! Alex __ R-help@r-project.org mail

[R] coloring wireframe plot with independent/separate matrix of color values.

2012-03-14 Thread Alex Miller
it doesn't work! wireframe(x=DEM, drape=TRUE, col.regions=as.vector(interpTEMP)) ### any ideas on how to combat this problem? Please let me know if I need to be more clear or provide additional information. Many blessings for your help! .alex [[alternative HTML version deleted]] _

[R] Beginner problems forecasting arma model

2012-03-12 Thread Alex Chen
orates all three of these elements: trend, seasonality, and cycles? or is there a better method which may be simpler? Thank you very much for helping a novice R programmer out. I can provide more information if needed. Sincerely, Alex __ R-help@r-project.

[R] MCMCglmm

2012-02-07 Thread Safari, Alex (Worldfish)
results change when different prior. Alex Dr Alex Safari Aquaculture and Genetic Improvement The WorldFish Center, Penang, MALAYSIA Telephone: 60 4 620 2175 Fax: 60 4 626 5530 (GMT +8) e-mail: a.saf...@cgiar.org http://www.worldfishcenter.org <http://www.worldfishcenter.

[R] laod multichannel-audio-files with readWave (tuneR)

2012-01-27 Thread Alex Hofmann
with readWave (from tuneR), or 2. inherite the readWave class and extend it to multichannel reading? What do you think? Best, Alex -- Alex Hofmann (Dipl.-Musikl.) Institute of Musical Acoustics (Wiener Klangstil) University of Music and Performing Arts Vienna Anton-von-Webern-Platz 1 1030 V

Re: [R] Calling function in DLL using .C

2012-01-24 Thread Alex van der Spek
Sorry, this works www.zdoor.home.xs4all.nl Thank you, Alex van der Spek On 01/24/2012 07:21 PM, Duncan Murdoch wrote: On 24/01/2012 11:55 AM, Alex van der Spek wrote: Uploaded the DLL here: http://www.filefactory.com/file/c2c56ad/n/Planck.dll I get: 403 Forbidden Request forbidden by

Re: [R] Calling function in DLL using .C

2012-01-24 Thread Alex van der Spek
names. Reading up on gcc in the mean time. Thank you, Alex van der Spek > On 24/01/2012 10:35 AM, Alex van der Spek wrote: >> Yes, sorry, I am learning how to do this. I am a simple and ageing >> physicist who grew up with Fortran and Algol. >> >> Just wondering if

[R] Calling function in DLL using .C

2012-01-24 Thread Alex van der Spek
fo returns the name and a pointer to the address of the function planckwR. The $package element of the list returned by getNativeSymbolInfo is NULL, which adds to my confusion as it should be a list of 3 elements. What am I missing here? All help much appreciated. Alex van der Spek ___

Re: [R] Calling Windows DLL using .C; function name not known but in exports.

2012-01-22 Thread Alex van der Spek
27;planckwR',...) not recognize it? Alex van der Spek On 01/22/2012 02:40 AM, Duncan Murdoch wrote: On 12-01-20 10:05 AM, Alex van der Spek wrote: First time ever that I try to call subroutines in a Win DLL using R. Have done this before using VBA and Python. The C code's function argume

[R] Calling Windows DLL using .C; function name not known but in exports.

2012-01-20 Thread Alex van der Spek
e exports table using dumpbin. I use Visual C++ 97 compiler. Old but works. It does change the FPU control word, which I know it should not. Working on that one too. Any tips? Any help much appreciated. Alex van der Spek __ R-help@r-project.org mailing list

Re: [R] sapply Call Returning " the condition has length > 1" Error

2011-12-27 Thread Alex Zhang
Michael, John and Bert, Thank you all very much for your help. I think I have gained a lot of understanding and am ready to write better code. I will study "The R Inferno". I appreciate it. - Alex From: R. Michael Weylandt To: Alex Zhang Cc: Joh

Re: [R] sapply Call Returning " the condition has length > 1" Error

2011-12-27 Thread Alex Zhang
O.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --- > Sent from my phone. Please excuse my brevity. > > Alex Zhang wrote: > >> John, >> >>

Re: [R] sapply Call Returning " the condition has length > 1" Error

2011-12-27 Thread Alex Zhang
a lot!  From: John Fox To: 'Alex Zhang' Cc: r-help@r-project.org Sent: Tuesday, December 27, 2011 4:06 PM Subject: RE: [R] sapply Call Returning " the condition has length > 1" Error Dear Alex, > -Original Message- > From

Re: [R] sapply Call Returning " the condition has length > 1" Error

2011-12-27 Thread Alex Zhang
s? That explains the behavior. Is there an "*apply" function that will fee elements of the input data.frame into "FUN" instead of whole columns? Thanks.  ____ From: John Fox To: 'Alex Zhang' Cc: r-help@r-project.org Sent: Tuesday, Dece

[R] sapply Call Returning " the condition has length > 1" Error

2011-12-27 Thread Alex Zhang
would expect plus there is such an error message. I guess if the DummyFunc I provided is compatible with vectors, the problem would go away. But let's suppose I cannot change DummyFunc. Is there still a way to use sapply or alike without actually writing a loop? Thanks. - Alex [

[R] Color bins for lattice levelplot

2011-12-27 Thread Alex Reynolds
se I define red cells as between (in this example) the minimum of "14" and the second-highest maximum "79", values of "100" should always be black. My question is: If I have 16 or more color bins between white and red, inclusive, then cells that were colored black

[R] levelplot + cut() for custom color palette

2011-12-22 Thread Alex Reynolds
In `levels<-`(`*tmp*`, value = c("white", "63", "24", "9", "15", : duplicated levels will not be allowed in factors anymore - What am I doing wrong with the cut() and color palette

Re: [R] A Question Re ISOdatetime

2011-12-14 Thread Alex Zhang
Thank you very much, Prof Ripley. The problem is solved and my understanding is improved.  Happy holidays! - Alex From: Prof Brian Ripley To: Alex Zhang Cc: "r-help@R-project.org" Sent: Wednesday, December 14, 2011 11:39 AM Subject: Re: [R] A Q

[R] A Question Re ISOdatetime

2011-12-14 Thread Alex Zhang
ained from the line above is all numeric. Could you please advise? I wish to get POSIXct. Thank you very much! - Alex [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] R development master class: NYC, Dec 12-13

2011-11-13 Thread Alex Ruiz Euler
Ha! Point publicly acknowledged. Best, A. On Sun, 13 Nov 2011 13:41:36 -0600 Hadley Wickham wrote: > > No seriously, as much as I'm for free enterprise, it feels awkward to > > see you promote an (expensive!) course in a list where people offer not > > only their knowledge, but also the tools

Re: [R] R development master class: NYC, Dec 12-13

2011-11-13 Thread Alex Ruiz Euler
What, no discount codes for us?! No seriously, as much as I'm for free enterprise, it feels awkward to see you promote an (expensive!) course in a list where people offer not only their knowledge, but also the tools you use, for free. I ignore whether this goes against posting rules, but even if

Re: [R] Odp: Error in matrix, not ordered vectors or numerical value, and SIAR.

2011-11-11 Thread Alex DJ
Hello Petr, The demo's don't run either, with the same errors. Thanks for your help. Best wishes. -- View this message in context: http://r.789695.n4.nabble.com/Error-in-matrix-not-ordered-vectors-or-numerical-value-and-SIAR-tp4024578p4033682.html Sent from the R help mailing list archive

Re: [R] Odp: Error in matrix, not ordered vectors or numerical value, and SIAR.

2011-11-11 Thread Alex DJ
Thank-you Petr. I have consulted as many manuals and help pages, and search engines, and trying various things in SIAR, but continuous errors prevail.. I have tried changing all matrices to numeric, but the first column , of the two latter matrices, returns as NA. Any other suggestions? I had

[R] Errors in SIAR

2011-11-10 Thread Alex DJ
'*' is not meaningful for ordered factors Matrix 1 has only 6 vectors in column 1. Thank-you. Alex. -- View this message in context: http://r.789695.n4.nabble.com/Errors-in-SIAR-tp4029804p4029804.html Sent from the R help mailing list archive at Nabble.com. ___

[R] Error in matrix, not ordered vectors or numerical value, and SIAR.

2011-11-10 Thread Alex DJ
27; is not meaningful for ordered factors Matrix 1 has only 6 vectors in column 1. Thank-you. Alex. -- View this message in context: http://r.789695.n4.nabble.com/Error-in-matrix-not-ordered-vectors-or-numerical-value-and-SIAR-tp4024578p4024578.html Sen

Re: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-10 Thread Alex DJ
numgroups, nrow = (siardata$iterations - : invalid 'ncol' value (too large or NA) In addition: Warning message: In Ops.ordered((numsources + numiso), numgroups) : '*' is not meaningful for ordered factors Matrix 1 has only 6 vectors in column 1. Thank-you. Alex. --

Re: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-10 Thread Alex DJ
7; value (too large or NA) In addition: Warning message: In Ops.ordered((numsources + numiso), numgroups) : '*' is not meaningful for ordered factors Should I now change to numeric? How do I do this (example code if possible please, am beginner and struggling!)? Thanks again for your

Re: [R] Web based R-help not a list

2011-11-10 Thread Alex DJ
Hello, Only answer to one but: 1. I can do a search on any topic over thousands of posts on R easily and effectively = www.rseek.org -- View this message in context: http://r.789695.n4.nabble.com/Web-based-R-help-not-a-list-tp4021752p4023359.html Sent from the R help mailing list ar

Re: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-10 Thread Alex DJ
Thanks Duncan. This is a package, SIAR. > fo <- ordered(f) > fo [1] a b c d e Levels: a < b < c < d < e > max(fo) [1] e Levels: a < b < c < d < e The data set has 101 values, what can I use instead of letters? Best wishes, Alex. -- Vie

[R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-09 Thread Alex DJ
uot;Algal Paste",..: 8 1 2 3 4 5 7 9 10 6 ... $ tefMeand13C: num 0.4 0.4 ... $ tefSDd13C : num 1.3 1.3 ... $ tefMeand15N: num 3.4 3.4 ... $ tefSDd15N : num 0.99 0.99 ... It looks like a problem with the pond column of the first data frame (data).. I am still trying to fix this but need some

Re: [R] R-help Digest, Vol 104, Issue 19

2011-10-19 Thread Alex Ruiz Euler
Motion supported. Very. On Wed, 19 Oct 2011 15:40:14 +0200 peter dalgaard wrote: > Argh! > > Someone please unsubscribe this guy? > > He did this over Summer too and still hasn't learned that 1 recipients of > R-help do not care whether he is out of office! > > -pd > > On Oct 19, 2011,

Re: [R] Analysis

2011-10-14 Thread Alex Ruiz Euler
Here are some tutorials to R: http://www.cyclismo.org/tutorial/R/ http://www.statmethods.net/ Or just search on the web. Good luck, A. On Fri, 14 Oct 2011 09:29:52 +0300 Peter Kaiga wrote: > i'm actually new at R, but to me its going to be big time, i want to do an > analysis for the attach

[R] StarCluster + R

2011-09-29 Thread Alex Bird
Hi there! Does anyone got an experience parallelizing R in conjuction with starcluster infrostructure? I am curious whether there are some ready to use scripts to run a job inside StarCluster. Thanks in advance! Kind regards, Alex __ R-help@r

Re: [R] Plot map by region using kasc and adehabitat

2011-09-22 Thread Alex Olssen
Hi there, I thought it would be useful to answer my own question for anybody else searching Google. An easy way to split a national map into smaller maps at lower levels of aggregation is to use the function mask() in the package raster Alex On 21 September 2011 19:20, Paul Hiemstra wrote

Re: [R] raster plot is empty

2011-09-21 Thread Alex Olssen
FALSE TRUE TRUE TRUE TRUEFALSE On 22 September 2011 13:09, Henrik Bengtsson wrote: > Adding $0.01 to this: Maybe comparing outputs of capabilities() gives > some clues. > > /Henrik > > > On Wed, Sep 21, 2011 at 6:00 PM, Alex Olssen wrote: >> Yes, Mik

Re: [R] raster plot is empty

2011-09-21 Thread Alex Olssen
] grid_2.13.1 lattice_0.19-30 And I can't see any difference! Kind regards, Alex On 22 September 2011 11:17, Michael Sumner wrote: > Please ensure that it is really the exact same code, I'm sure you did > not mean to plot "f", but "r" (for example). > > Al

Re: [R] raster plot is empty

2011-09-21 Thread Alex Olssen
reproducible? Is it helpful if I post the results of sessionInfo() ? Kind regards, Alex On 22 September 2011 09:55, Sarah Goslee wrote: > Alex, > > We definitely need the output of sessionInfo(), the version of raster, > and a reproducible example. > > > Without knowing th

  1   2   3   >