inconsistency in display of character vector....

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

inconsistency in display of character vector....

akshay kulkarni
dear members,
                            I have the following code to update the list of stocks:

function (snlcqn)
{
                  lneq <- c()
                  URL <- "https://canmoney.in/Intraday%20scrip.xls"
                  file.string <- tempfile()

                  download.file(URL,file.string)

                  IDT <- read_excel(file.string)

                  leq <- IDT[,1]

                  for(i in 1:length(leq)){
                  lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}

                  for(j in 1:length(lneq)){
                  snlcqna[j] <- paste("NSE/",lneq[j])}

                  if(identical(snlcqn,snlcqna) == "FALSE"){
                  return(snlcqna)                         }

                  else                                    {
                  return(snlcqn)                          }

}
snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
The problem is the return object, instead of getting displayed in contiguous list, is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS instance):

[192] "NSE/YESBANK"
[193] "NSE/ZEEL"

Why is this happening? How can I get the return object as a contiguous list?
Very many thanks for your time and effort...
yours sincerely,
AKSHAY M KULKARNI

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Fw: inconsistency in display of character vector....

akshay kulkarni
dear members,
                             The mail is not showing the spaces between [192] "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty spaces between the two.....!!!!!!

________________________________________
From: R-help <[hidden email]> on behalf of akshay kulkarni <[hidden email]>
Sent: Sunday, July 8, 2018 5:58 PM
To: R help Mailing  list
Subject: [R] inconsistency in display of character vector....

dear members,
                            I have the following code to update the list of stocks:

function (snlcqn)
{
                  lneq <- c()
                  URL <- "https://canmoney.in/Intraday%20scrip.xls"
                  file.string <- tempfile()

                  download.file(URL,file.string)

                  IDT <- read_excel(file.string)

                  leq <- IDT[,1]

                  for(i in 1:length(leq)){
                  lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}

                  for(j in 1:length(lneq)){
                  snlcqna[j] <- paste("NSE/",lneq[j])}

                  if(identical(snlcqn,snlcqna) == "FALSE"){
                  return(snlcqna)                         }

                  else                                    {
                  return(snlcqn)                          }

}
snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
The problem is the return object, instead of getting displayed in contiguous list, is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS instance):

[192] "NSE/YESBANK"
[193] "NSE/ZEEL"

Why is this happening? How can I get the return object as a contiguous list?
Very many thanks for your time and effort...
yours sincerely,
AKSHAY M KULKARNI

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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, reproducible code.

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

Ben Tupper-2
Hi,

You will be hard pressed to get helpful answers as you have not provided any way for list readers to replicate your data and code.  Check out this https://rseek.org/?q=reproducible+example

On the other hand, ...

(1)  I have a hunch that one place you are getting tripped up by your effort to treat IDT as a regular data.frame.  In fact, read_excel(), I'm guessing from the readxl package, returns a tibble.  When you subset a tibble like you have with...

leq <- IDT[,1]

... you get a 1-column tibble...

> leq
# A tibble: 208 x 1
   SymbolSeries
   <chr>      
 1 ACCEQ      
 2 ADANIENTEQ  
 3 ADANIPORTSEQ
 4 ADANIPOWEREQ
 5 AJANTPHARMEQ
 6 ALBKEQ      
 7 AMARAJABATEQ
 8 AMBUJACEMEQ
 9 ANDHRABANKEQ
10 APOLLOHOSPEQ
# ... with 198 more rows

So, that may be part of the issue (but I'm not really sure if it causes the problem you identify).

(2) Also another possible tripping point, when you prepend 'NSE/' to whatever lneq is supposed to be, you are using paste() without specifying the sep argument which defaults to a single space " ".  If you want it to be something else then you have to explicitly set the value of sep.

(3) Finally, you will have much better luck getting help if you configure your email client to send plain text to this list.  Fancily formatted text is made un-fancy by the list-server software - which will mess up your posted code.  That's why you keep getting ...

[[alternative HTML version deleted]]

... at the tail end of your emails.


Good luck!
Ben

> On Jul 8, 2018, at 8:37 AM, akshay kulkarni <[hidden email]> wrote:
>
> dear members,
>                             The mail is not showing the spaces between [192] "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty spaces between the two.....!!!!!!
>
> ________________________________________
> From: R-help <[hidden email]> on behalf of akshay kulkarni <[hidden email]>
> Sent: Sunday, July 8, 2018 5:58 PM
> To: R help Mailing  list
> Subject: [R] inconsistency in display of character vector....
>
> dear members,
>                            I have the following code to update the list of stocks:
>
> function (snlcqn)
> {
>                  lneq <- c()
>                  URL <- "https://canmoney.in/Intraday%20scrip.xls"
>                  file.string <- tempfile()
>
>                  download.file(URL,file.string)
>
>                  IDT <- read_excel(file.string)
>
>                  leq <- IDT[,1]
>
>                  for(i in 1:length(leq)){
>                  lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
>
>                  for(j in 1:length(lneq)){
>                  snlcqna[j] <- paste("NSE/",lneq[j])}
>
>                  if(identical(snlcqn,snlcqna) == "FALSE"){
>                  return(snlcqna)                         }
>
>                  else                                    {
>                  return(snlcqn)                          }
>
> }
> snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
> The problem is the return object, instead of getting displayed in contiguous list, is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS instance):
>
> [192] "NSE/YESBANK"
> [193] "NSE/ZEEL"
>
> Why is this happening? How can I get the return object as a contiguous list?
> Very many thanks for your time and effort...
> yours sincerely,
> AKSHAY M KULKARNI
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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, reproducible code.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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, reproducible code.
>

Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org

Ecological Forecasting: https://eco.bigelow.org/






        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Fw: inconsistency in display of character vector....

Jeff Newmiller
In reply to this post by akshay kulkarni
Using dput and sending your questions with the plain text option as described in [1] will allow you to share your data with less ambiguity. To be sure you have supplied all the code needed for us to reproduce your problem, use [3].

[1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

[2] http://adv-r.had.co.nz/Reproducibility.html

[3] https://cran.r-project.org/web/packages/reprex/index.html (read the vignette)

On July 8, 2018 5:37:33 AM PDT, akshay kulkarni <[hidden email]> wrote:

>dear members,
>The mail is not showing the spaces between [192] "NSE/YESBANK" and
>[193] "NSE/ZEEL" ...Actually there is a lot of empty spaces between the
>two.....!!!!!!
>
>________________________________________
>From: R-help <[hidden email]> on behalf of akshay
>kulkarni <[hidden email]>
>Sent: Sunday, July 8, 2018 5:58 PM
>To: R help Mailing  list
>Subject: [R] inconsistency in display of character vector....
>
>dear members,
>                I have the following code to update the list of stocks:
>
>function (snlcqn)
>{
>                  lneq <- c()
>                  URL <- "https://canmoney.in/Intraday%20scrip.xls"
>                  file.string <- tempfile()
>
>                  download.file(URL,file.string)
>
>                  IDT <- read_excel(file.string)
>
>                  leq <- IDT[,1]
>
>                  for(i in 1:length(leq)){
>                  lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
>
>                  for(j in 1:length(lneq)){
>                  snlcqna[j] <- paste("NSE/",lneq[j])}
>
>                  if(identical(snlcqn,snlcqna) == "FALSE"){
>                  return(snlcqna)                         }
>
>                  else                                    {
>                  return(snlcqn)                          }
>
>}
>snlcqn is the list of present stocks and snlcqna is the list of updated
>stocks.
>The problem is the return object, instead of getting displayed in
>contiguous list, is getting displayed with lots of spaces...( I am
>using R on a LINUX RHEL AWS instance):
>
>[192] "NSE/YESBANK"
>[193] "NSE/ZEEL"
>
>Why is this happening? How can I get the return object as a contiguous
>list?
>Very many thanks for your time and effort...
>yours sincerely,
>AKSHAY M KULKARNI
>
>        [[alternative HTML version deleted]]
>
>______________________________________________
>[hidden email] 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, reproducible code.
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>[hidden email] 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, reproducible code.

--
Sent from my phone. Please excuse my brevity.

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

R help mailing list-2
In reply to this post by Ben Tupper-2
In addition to what Ben and Jeff have said, I think you can simplify your function considerably. See these examples:

> substr( c('abc', 'abcd','abcde') , c(2,1,3), c(2,2,4))
[1] "b"  "ab" "cd"

> foo <- c('abc', 'abcd','abcde')
> substr( foo , 1, nchar(foo)-2)
[1] "a"   "ab"  "abc"

> foo <- c('abc', 'abcd','abcde')
> paste0('NSE/',foo)
[1] "NSE/abc"   "NSE/abcd"  "NSE/abcde"

I can't test my suggestions, but just from looking at your code, I don't think you need the two loops.

function (snlcqn)
{
 ##                 lneq <- c()   ## not a good way to initialize
                  URL <- "https://canmoney.in/Intraday%20scrip.xls"
                  file.string <- tempfile()

                  download.file(URL,file.string)

                  IDT <- read_excel(file.string)

                  leq <- IDT[,1]

   lneq <- substr( leq, 1, nchar(leq)-2)

#                  for(i in 1:length(leq)){
#                 lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}

  snlcqna <- paste0('NSE/', lneq)

#                  for(j in 1:length(lneq)){
#                  snlcqna[j] <- paste("NSE/",lneq[j])}


## functions return the value of their last expression, so the return() statements are not necessary
## testing for FALSE does not need == "FALSE"

#                  if(identical(snlcqn,snlcqna) == "FALSE"){
#                 return(snlcqna)                         }
#
#                  else                                    {
#                  return(snlcqn)                          }

  If (identical(snlcqn, snlcqna)) snlcqn else snlcqna

}


--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
Lab cell 925-724-7509
 
 

On 7/8/18, 6:48 AM, "R-help on behalf of Ben Tupper" <[hidden email] on behalf of [hidden email]> wrote:

    Hi,
   
    You will be hard pressed to get helpful answers as you have not provided any way for list readers to replicate your data and code.  Check out this https://rseek.org/?q=reproducible+example
   
    On the other hand, ...
   
    (1)  I have a hunch that one place you are getting tripped up by your effort to treat IDT as a regular data.frame.  In fact, read_excel(), I'm guessing from the readxl package, returns a tibble.  When you subset a tibble like you have with...
   
    leq <- IDT[,1]
   
    ... you get a 1-column tibble...
   
    > leq
    # A tibble: 208 x 1
       SymbolSeries
       <chr>      
     1 ACCEQ      
     2 ADANIENTEQ  
     3 ADANIPORTSEQ
     4 ADANIPOWEREQ
     5 AJANTPHARMEQ
     6 ALBKEQ      
     7 AMARAJABATEQ
     8 AMBUJACEMEQ
     9 ANDHRABANKEQ
    10 APOLLOHOSPEQ
    # ... with 198 more rows
   
    So, that may be part of the issue (but I'm not really sure if it causes the problem you identify).
   
    (2) Also another possible tripping point, when you prepend 'NSE/' to whatever lneq is supposed to be, you are using paste() without specifying the sep argument which defaults to a single space " ".  If you want it to be something else then you have to explicitly set the value of sep.
   
    (3) Finally, you will have much better luck getting help if you configure your email client to send plain text to this list.  Fancily formatted text is made un-fancy by the list-server software - which will mess up your posted code.  That's why you keep getting ...
   
    [[alternative HTML version deleted]]
   
    ... at the tail end of your emails.
   
   
    Good luck!
    Ben
   
    > On Jul 8, 2018, at 8:37 AM, akshay kulkarni <[hidden email]> wrote:
    >
    > dear members,
    >                             The mail is not showing the spaces between [192] "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty spaces between the two.....!!!!!!
    >
    > ________________________________________
    > From: R-help <[hidden email]> on behalf of akshay kulkarni <[hidden email]>
    > Sent: Sunday, July 8, 2018 5:58 PM
    > To: R help Mailing  list
    > Subject: [R] inconsistency in display of character vector....
    >
    > dear members,
    >                            I have the following code to update the list of stocks:
    >
    > function (snlcqn)
    > {
    >                  lneq <- c()
    >                  URL <- "https://canmoney.in/Intraday%20scrip.xls"
    >                  file.string <- tempfile()
    >
    >                  download.file(URL,file.string)
    >
    >                  IDT <- read_excel(file.string)
    >
    >                  leq <- IDT[,1]
    >
    >                  for(i in 1:length(leq)){
    >                  lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
    >
    >                  for(j in 1:length(lneq)){
    >                  snlcqna[j] <- paste("NSE/",lneq[j])}
    >
    >                  if(identical(snlcqn,snlcqna) == "FALSE"){
    >                  return(snlcqna)                         }
    >
    >                  else                                    {
    >                  return(snlcqn)                          }
    >
    > }
    > snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
    > The problem is the return object, instead of getting displayed in contiguous list, is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS instance):
    >
    > [192] "NSE/YESBANK"
    > [193] "NSE/ZEEL"
    >
    > Why is this happening? How can I get the return object as a contiguous list?
    > Very many thanks for your time and effort...
    > yours sincerely,
    > AKSHAY M KULKARNI
    >
    >        [[alternative HTML version deleted]]
    >
    > ______________________________________________
    > [hidden email] 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, reproducible code.
    >
    > [[alternative HTML version deleted]]
    >
    > ______________________________________________
    > [hidden email] 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, reproducible code.
    >
   
    Ben Tupper
    Bigelow Laboratory for Ocean Sciences
    60 Bigelow Drive, P.O. Box 380
    East Boothbay, Maine 04544
    http://www.bigelow.org
   
    Ecological Forecasting: https://eco.bigelow.org/
   
   
   
   
   
   
    [[alternative HTML version deleted]]
   
    ______________________________________________
    [hidden email] 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, reproducible code.
   

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

PIKAL Petr
In reply to this post by akshay kulkarni
Hi

You definitely should not use HTML formated mail. This is plain text mailing list for reason.

If you experience space between "NSE/" and pasted second part, you should read paste help page which states

paste (..., sep = " ", collapse = NULL)

so it has space as separator.

You should use paste0 if you want to get rid of separating space or axplicitely state
paste (..., sep = "")

> lneq <- c()
> for (i in 1:10) lneq[i] <- letters[i]
> lneq
 [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
> snlcqna<-LETTERS[1:10]
> for (j in 1:10) snlcqna[j] <- paste("NSE/",lneq[j])
> snlcqna
 [1] "NSE/ a" "NSE/ b" "NSE/ c" "NSE/ d" "NSE/ e" "NSE/ f" "NSE/ g" "NSE/ h"
 [9] "NSE/ i" "NSE/ j"
> for (j in 1:10) snlcqna[j] <- paste0("NSE/",lneq[j])
> snlcqna
 [1] "NSE/a" "NSE/b" "NSE/c" "NSE/d" "NSE/e" "NSE/f" "NSE/g" "NSE/h" "NSE/i"
[10] "NSE/j"

Cheers
Petr

Osobní údaje: Informace o zpracování a ochraně osobních údajů obchodních partnerů PRECHEZA a.s. jsou zveřejněny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner's personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/
Důvěrnost: Tento e-mail a jakékoliv k němu připojené dokumenty jsou důvěrné a podléhají tomuto právně závaznému prohlášení o vyloučení odpovědnosti: https://www.precheza.cz/01-dovetek/ | This email and any documents attached to it may be confidential and are subject to the legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/

> -----Original Message-----
> From: R-help [mailto:[hidden email]] On Behalf Of akshay
> kulkarni
> Sent: Sunday, July 8, 2018 2:38 PM
> To: R help Mailing list <[hidden email]>
> Subject: [R] Fw: inconsistency in display of character vector....
>
> dear members,
>                              The mail is not showing the spaces between [192]
> "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty spaces
> between the two.....!!!!!!
>
> ________________________________________
> From: R-help <[hidden email]> on behalf of akshay kulkarni
> <[hidden email]>
> Sent: Sunday, July 8, 2018 5:58 PM
> To: R help Mailing  list
> Subject: [R] inconsistency in display of character vector....
>
> dear members,
>                             I have the following code to update the list of stocks:
>
> function (snlcqn)
> {
>                   lneq <- c()
>                   URL <- "https://canmoney.in/Intraday%20scrip.xls"
>                   file.string <- tempfile()
>
>                   download.file(URL,file.string)
>
>                   IDT <- read_excel(file.string)
>
>                   leq <- IDT[,1]
>
>                   for(i in 1:length(leq)){
>                   lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
>
>                   for(j in 1:length(lneq)){
>                   snlcqna[j] <- paste("NSE/",lneq[j])}
>
>                   if(identical(snlcqn,snlcqna) == "FALSE"){
>                   return(snlcqna)                         }
>
>                   else                                    {
>                   return(snlcqn)                          }
>
> }
> snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
> The problem is the return object, instead of getting displayed in contiguous list,
> is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS
> instance):
>
> [192] "NSE/YESBANK"
> [193] "NSE/ZEEL"
>
> Why is this happening? How can I get the return object as a contiguous list?
> Very many thanks for your time and effort...
> yours sincerely,
> AKSHAY M KULKARNI
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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, reproducible code.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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, reproducible code.

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

Eric Berger
 >  If (identical(snlcqn, snlcqna)) snlcqn else snlcqna

??

Why not just always return snicqna ?


On Mon, Jul 9, 2018 at 9:43 AM, PIKAL Petr <[hidden email]> wrote:

> Hi
>
> You definitely should not use HTML formated mail. This is plain text
> mailing list for reason.
>
> If you experience space between "NSE/" and pasted second part, you should
> read paste help page which states
>
> paste (..., sep = " ", collapse = NULL)
>
> so it has space as separator.
>
> You should use paste0 if you want to get rid of separating space or
> axplicitely state
> paste (..., sep = "")
>
> > lneq <- c()
> > for (i in 1:10) lneq[i] <- letters[i]
> > lneq
>  [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
> > snlcqna<-LETTERS[1:10]
> > for (j in 1:10) snlcqna[j] <- paste("NSE/",lneq[j])
> > snlcqna
>  [1] "NSE/ a" "NSE/ b" "NSE/ c" "NSE/ d" "NSE/ e" "NSE/ f" "NSE/ g" "NSE/
> h"
>  [9] "NSE/ i" "NSE/ j"
> > for (j in 1:10) snlcqna[j] <- paste0("NSE/",lneq[j])
> > snlcqna
>  [1] "NSE/a" "NSE/b" "NSE/c" "NSE/d" "NSE/e" "NSE/f" "NSE/g" "NSE/h"
> "NSE/i"
> [10] "NSE/j"
>
> Cheers
> Petr
>
> Osobní údaje: Informace o zpracování a ochraně osobních údajů obchodních
> partnerů PRECHEZA a.s. jsou zveřejněny na: https://www.precheza.cz/
> zasady-ochrany-osobnich-udaju/ | Information about processing and
> protection of business partner's personal data are available on website:
> https://www.precheza.cz/en/personal-data-protection-principles/
> Důvěrnost: Tento e-mail a jakékoliv k němu připojené dokumenty jsou
> důvěrné a podléhají tomuto právně závaznému prohlášení o vyloučení
> odpovědnosti: https://www.precheza.cz/01-dovetek/ | This email and any
> documents attached to it may be confidential and are subject to the legally
> binding disclaimer: https://www.precheza.cz/en/01-disclaimer/
>
> > -----Original Message-----
> > From: R-help [mailto:[hidden email]] On Behalf Of akshay
> > kulkarni
> > Sent: Sunday, July 8, 2018 2:38 PM
> > To: R help Mailing list <[hidden email]>
> > Subject: [R] Fw: inconsistency in display of character vector....
> >
> > dear members,
> >                              The mail is not showing the spaces between
> [192]
> > "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty
> spaces
> > between the two.....!!!!!!
> >
> > ________________________________________
> > From: R-help <[hidden email]> on behalf of akshay kulkarni
> > <[hidden email]>
> > Sent: Sunday, July 8, 2018 5:58 PM
> > To: R help Mailing  list
> > Subject: [R] inconsistency in display of character vector....
> >
> > dear members,
> >                             I have the following code to update the list
> of stocks:
> >
> > function (snlcqn)
> > {
> >                   lneq <- c()
> >                   URL <- "https://canmoney.in/Intraday%20scrip.xls"
> >                   file.string <- tempfile()
> >
> >                   download.file(URL,file.string)
> >
> >                   IDT <- read_excel(file.string)
> >
> >                   leq <- IDT[,1]
> >
> >                   for(i in 1:length(leq)){
> >                   lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
> >
> >                   for(j in 1:length(lneq)){
> >                   snlcqna[j] <- paste("NSE/",lneq[j])}
> >
> >                   if(identical(snlcqn,snlcqna) == "FALSE"){
> >                   return(snlcqna)                         }
> >
> >                   else                                    {
> >                   return(snlcqn)                          }
> >
> > }
> > snlcqn is the list of present stocks and snlcqna is the list of updated
> stocks.
> > The problem is the return object, instead of getting displayed in
> contiguous list,
> > is getting displayed with lots of spaces...( I am using R on a LINUX
> RHEL AWS
> > instance):
> >
> > [192] "NSE/YESBANK"
> > [193] "NSE/ZEEL"
> >
> > Why is this happening? How can I get the return object as a contiguous
> list?
> > Very many thanks for your time and effort...
> > yours sincerely,
> > AKSHAY M KULKARNI
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [hidden email] 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, reproducible code.
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [hidden email] 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, reproducible code.
>
> ______________________________________________
> [hidden email] 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, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

akshay kulkarni
dear members,
                             I've gone through debug(update.snlcqn)  (update.snlcqn is the above function) and  I think the problem lies in read_excel returning a tibble...any suggestions on how to convert it to a regular data frame? Any other packages that read xls files as a regular data frame?

Very many thanks for your time and effort....
Yours sincerely,
AKSHAY M KULKARNI

________________________________
From: Eric Berger <[hidden email]>
Sent: Monday, July 9, 2018 12:15 PM
To: PIKAL Petr
Cc: akshay kulkarni; R help Mailing list
Subject: Re: [R] inconsistency in display of character vector....

>  If (identical(snlcqn, snlcqna)) snlcqn else snlcqna

??

Why not just always return snicqna ?


On Mon, Jul 9, 2018 at 9:43 AM, PIKAL Petr <[hidden email]<mailto:[hidden email]>> wrote:
Hi

You definitely should not use HTML formated mail. This is plain text mailing list for reason.

If you experience space between "NSE/" and pasted second part, you should read paste help page which states

paste (..., sep = " ", collapse = NULL)

so it has space as separator.

You should use paste0 if you want to get rid of separating space or axplicitely state
paste (..., sep = "")

> lneq <- c()
> for (i in 1:10) lneq[i] <- letters[i]
> lneq
 [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
> snlcqna<-LETTERS[1:10]
> for (j in 1:10) snlcqna[j] <- paste("NSE/",lneq[j])
> snlcqna
 [1] "NSE/ a" "NSE/ b" "NSE/ c" "NSE/ d" "NSE/ e" "NSE/ f" "NSE/ g" "NSE/ h"
 [9] "NSE/ i" "NSE/ j"
> for (j in 1:10) snlcqna[j] <- paste0("NSE/",lneq[j])
> snlcqna
 [1] "NSE/a" "NSE/b" "NSE/c" "NSE/d" "NSE/e" "NSE/f" "NSE/g" "NSE/h" "NSE/i"
[10] "NSE/j"

Cheers
Petr

Osobn� �daje: Informace o zpracov�n� a ochran� osobn�ch �daj� obchodn�ch partner� PRECHEZA a.s. jsou zve�ejn�ny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner's personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/
D�v�rnost: Tento e-mail a jak�koliv k n�mu p�ipojen� dokumenty jsou d�v�rn� a podl�haj� tomuto pr�vn� z�vazn�mu prohl�en� o vylou�en� odpov�dnosti: https://www.precheza.cz/01-dovetek/ | This email and any documents attached to it may be confidential and are subject to the legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/

> -----Original Message-----
> From: R-help [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of akshay
> kulkarni
> Sent: Sunday, July 8, 2018 2:38 PM
> To: R help Mailing list <[hidden email]<mailto:[hidden email]>>
> Subject: [R] Fw: inconsistency in display of character vector....
>
> dear members,
>                              The mail is not showing the spaces between [192]
> "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty spaces
[[elided Hotmail spam]]

>
> ________________________________________
> From: R-help <[hidden email]<mailto:[hidden email]>> on behalf of akshay kulkarni
> <[hidden email]<mailto:[hidden email]>>
> Sent: Sunday, July 8, 2018 5:58 PM
> To: R help Mailing  list
> Subject: [R] inconsistency in display of character vector....
>
> dear members,
>                             I have the following code to update the list of stocks:
>
> function (snlcqn)
> {
>                   lneq <- c()
>                   URL <- "https://canmoney.in/Intraday%20scrip.xls"
>                   file.string <- tempfile()
>
>                   download.file(URL,file.string)
>
>                   IDT <- read_excel(file.string)
>
>                   leq <- IDT[,1]
>
>                   for(i in 1:length(leq)){
>                   lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
>
>                   for(j in 1:length(lneq)){
>                   snlcqna[j] <- paste("NSE/",lneq[j])}
>
>                   if(identical(snlcqn,snlcqna) == "FALSE"){
>                   return(snlcqna)                         }
>
>                   else                                    {
>                   return(snlcqn)                          }
>
> }
> snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
> The problem is the return object, instead of getting displayed in contiguous list,
> is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS
> instance):
>
> [192] "NSE/YESBANK"
> [193] "NSE/ZEEL"
>
> Why is this happening? How can I get the return object as a contiguous list?
> Very many thanks for your time and effort...
> yours sincerely,
> AKSHAY M KULKARNI
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email]<mailto:[hidden email]> 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, reproducible code.
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email]<mailto:[hidden email]> 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, reproducible code.
______________________________________________
[hidden email]<mailto:[hidden email]> 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, reproducible code.


        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

Eric Berger
Hi Akshay,
Package "openxlsx" has function read.xlsx() which returns a data frame.

HTH,
Eric


On Tue, Jul 10, 2018 at 2:43 PM, akshay kulkarni <[hidden email]>
wrote:

> dear members,
>                              I've gone through debug(update.snlcqn)
> (update.snlcqn is the above function) and  I think the problem lies in
> read_excel returning a tibble...any suggestions on how to convert it to a
> regular data frame? Any other packages that read xls files as a regular
> data frame?
>
> Very many thanks for your time and effort....
> Yours sincerely,
> AKSHAY M KULKARNI
>
> ------------------------------
> *From:* Eric Berger <[hidden email]>
> *Sent:* Monday, July 9, 2018 12:15 PM
> *To:* PIKAL Petr
> *Cc:* akshay kulkarni; R help Mailing list
> *Subject:* Re: [R] inconsistency in display of character vector....
>
> >  If (identical(snlcqn, snlcqna)) snlcqn else snlcqna
>
> ??
>
> Why not just always return snicqna ?
>
>
> On Mon, Jul 9, 2018 at 9:43 AM, PIKAL Petr <[hidden email]> wrote:
>
> Hi
>
> You definitely should not use HTML formated mail. This is plain text
> mailing list for reason.
>
> If you experience space between "NSE/" and pasted second part, you should
> read paste help page which states
>
> paste (..., sep = " ", collapse = NULL)
>
> so it has space as separator.
>
> You should use paste0 if you want to get rid of separating space or
> axplicitely state
> paste (..., sep = "")
>
> > lneq <- c()
> > for (i in 1:10) lneq[i] <- letters[i]
> > lneq
>  [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
> > snlcqna<-LETTERS[1:10]
> > for (j in 1:10) snlcqna[j] <- paste("NSE/",lneq[j])
> > snlcqna
>  [1] "NSE/ a" "NSE/ b" "NSE/ c" "NSE/ d" "NSE/ e" "NSE/ f" "NSE/ g" "NSE/
> h"
>  [9] "NSE/ i" "NSE/ j"
> > for (j in 1:10) snlcqna[j] <- paste0("NSE/",lneq[j])
> > snlcqna
>  [1] "NSE/a" "NSE/b" "NSE/c" "NSE/d" "NSE/e" "NSE/f" "NSE/g" "NSE/h"
> "NSE/i"
> [10] "NSE/j"
>
> Cheers
> Petr
>
> Osobní údaje: Informace o zpracování a ochraně osobních údajů obchodních
> partnerů PRECHEZA a.s. jsou zveřejněny na: https://www.precheza.cz/zasady
> -ochrany-osobnich-udaju/ | Information about processing and protection of
> business partner's personal data are available on website:
> https://www.precheza.cz/en/personal-data-protection-principles/
> Důvěrnost: Tento e-mail a jakékoliv k němu připojené dokumenty jsou
> důvěrné a podléhají tomuto právně závaznému prohlášení o vyloučení
> odpovědnosti: https://www.precheza.cz/01-dovetek/ | This email and any
> documents attached to it may be confidential and are subject to the legally
> binding disclaimer: https://www.precheza.cz/en/01-disclaimer/
>
> > -----Original Message-----
> > From: R-help [mailto:[hidden email]] On Behalf Of akshay
> > kulkarni
> > Sent: Sunday, July 8, 2018 2:38 PM
> > To: R help Mailing list <[hidden email]>
> > Subject: [R] Fw: inconsistency in display of character vector....
> >
> > dear members,
> >                              The mail is not showing the spaces between
> [192]
> > "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty
> spaces
> > between the two.....!!!!!!
> >
> > ________________________________________
> > From: R-help <[hidden email]> on behalf of akshay kulkarni
> > <[hidden email]>
> > Sent: Sunday, July 8, 2018 5:58 PM
> > To: R help Mailing  list
> > Subject: [R] inconsistency in display of character vector....
> >
> > dear members,
> >                             I have the following code to update the list
> of stocks:
> >
> > function (snlcqn)
> > {
> >                   lneq <- c()
> >                   URL <- "https://canmoney.in/Intraday%20scrip.xls"
> >                   file.string <- tempfile()
> >
> >                   download.file(URL,file.string)
> >
> >                   IDT <- read_excel(file.string)
> >
> >                   leq <- IDT[,1]
> >
> >                   for(i in 1:length(leq)){
> >                   lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
> >
> >                   for(j in 1:length(lneq)){
> >                   snlcqna[j] <- paste("NSE/",lneq[j])}
> >
> >                   if(identical(snlcqn,snlcqna) == "FALSE"){
> >                   return(snlcqna)                         }
> >
> >                   else                                    {
> >                   return(snlcqn)                          }
> >
> > }
> > snlcqn is the list of present stocks and snlcqna is the list of updated
> stocks.
> > The problem is the return object, instead of getting displayed in
> contiguous list,
> > is getting displayed with lots of spaces...( I am using R on a LINUX
> RHEL AWS
> > instance):
> >
> > [192] "NSE/YESBANK"
> > [193] "NSE/ZEEL"
> >
> > Why is this happening? How can I get the return object as a contiguous
> list?
> > Very many thanks for your time and effort...
> > yours sincerely,
> > AKSHAY M KULKARNI
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [hidden email] 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/posti
> ng-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [hidden email] 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/posti
> ng-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> [hidden email] 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/posti
> ng-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: inconsistency in display of character vector....

PIKAL Petr
In reply to this post by akshay kulkarni
Hi

What about

dat<-as.data.frame(tibble.dat)

Cheers
Petr
Osobn� �daje: Informace o zpracov�n� a ochran� osobn�ch �daj� obchodn�ch partner� PRECHEZA a.s. jsou zve�ejn�ny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner's personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/
D�v�rnost: Tento e-mail a jak�koliv k n�mu p�ipojen� dokumenty jsou d�v�rn� a podl�haj� tomuto pr�vn� z�vazn�mu prohl�en� o vylou�en� odpov�dnosti: https://www.precheza.cz/01-dovetek/ | This email and any documents attached to it may be confidential and are subject to the legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/

From: akshay kulkarni [mailto:[hidden email]]
Sent: Tuesday, July 10, 2018 1:43 PM
To: Eric Berger <[hidden email]>; PIKAL Petr <[hidden email]>
Cc: R help Mailing list <[hidden email]>
Subject: Re: [R] inconsistency in display of character vector....

dear members,
                             I've gone through debug(update.snlcqn)  (update.snlcqn is the above function) and  I think the problem lies in read_excel returning a tibble...any suggestions on how to convert it to a regular data frame? Any other packages that read xls files as a regular data frame?

Very many thanks for your time and effort....
Yours sincerely,
AKSHAY M KULKARNI

________________________________
From: Eric Berger <[hidden email]<mailto:[hidden email]>>
Sent: Monday, July 9, 2018 12:15 PM
To: PIKAL Petr
Cc: akshay kulkarni; R help Mailing list
Subject: Re: [R] inconsistency in display of character vector....

>  If (identical(snlcqn, snlcqna)) snlcqn else snlcqna

??

Why not just always return snicqna ?


On Mon, Jul 9, 2018 at 9:43 AM, PIKAL Petr <[hidden email]<mailto:[hidden email]>> wrote:
Hi

You definitely should not use HTML formated mail. This is plain text mailing list for reason.

If you experience space between "NSE/" and pasted second part, you should read paste help page which states

paste (..., sep = " ", collapse = NULL)

so it has space as separator.

You should use paste0 if you want to get rid of separating space or axplicitely state
paste (..., sep = "")

> lneq <- c()
> for (i in 1:10) lneq[i] <- letters[i]
> lneq
 [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
> snlcqna<-LETTERS[1:10]
> for (j in 1:10) snlcqna[j] <- paste("NSE/",lneq[j])
> snlcqna
 [1] "NSE/ a" "NSE/ b" "NSE/ c" "NSE/ d" "NSE/ e" "NSE/ f" "NSE/ g" "NSE/ h"
 [9] "NSE/ i" "NSE/ j"
> for (j in 1:10) snlcqna[j] <- paste0("NSE/",lneq[j])
> snlcqna
 [1] "NSE/a" "NSE/b" "NSE/c" "NSE/d" "NSE/e" "NSE/f" "NSE/g" "NSE/h" "NSE/i"
[10] "NSE/j"

Cheers
Petr

Osobn� �daje: Informace o zpracov�n� a ochran� osobn�ch �daj� obchodn�ch partner� PRECHEZA a.s. jsou zve�ejn�ny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner's personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/
D�v�rnost: Tento e-mail a jak�koliv k n�mu p�ipojen� dokumenty jsou d�v�rn� a podl�haj� tomuto pr�vn� z�vazn�mu prohl�en� o vylou�en� odpov�dnosti: https://www.precheza.cz/01-dovetek/ | This email and any documents attached to it may be confidential and are subject to the legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/

> -----Original Message-----
> From: R-help [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of akshay
> kulkarni
> Sent: Sunday, July 8, 2018 2:38 PM
> To: R help Mailing list <[hidden email]<mailto:[hidden email]>>
> Subject: [R] Fw: inconsistency in display of character vector....
>
> dear members,
>                              The mail is not showing the spaces between [192]
> "NSE/YESBANK" and  [193] "NSE/ZEEL" ...Actually there is a lot of empty spaces
> between the two.....!!!!!!
>
> ________________________________________
> From: R-help <[hidden email]<mailto:[hidden email]>> on behalf of akshay kulkarni
> <[hidden email]<mailto:[hidden email]>>
> Sent: Sunday, July 8, 2018 5:58 PM
> To: R help Mailing  list
> Subject: [R] inconsistency in display of character vector....
>
> dear members,
>                             I have the following code to update the list of stocks:
>
> function (snlcqn)
> {
>                   lneq <- c()
>                   URL <- "https://canmoney.in/Intraday%20scrip.xls"
>                   file.string <- tempfile()
>
>                   download.file(URL,file.string)
>
>                   IDT <- read_excel(file.string)
>
>                   leq <- IDT[,1]
>
>                   for(i in 1:length(leq)){
>                   lneq[i] <- substr(leq[i],1,(nchar(leq[i])-2))}
>
>                   for(j in 1:length(lneq)){
>                   snlcqna[j] <- paste("NSE/",lneq[j])}
>
>                   if(identical(snlcqn,snlcqna) == "FALSE"){
>                   return(snlcqna)                         }
>
>                   else                                    {
>                   return(snlcqn)                          }
>
> }
> snlcqn is the list of present stocks and snlcqna is the list of updated stocks.
> The problem is the return object, instead of getting displayed in contiguous list,
> is getting displayed with lots of spaces...( I am using R on a LINUX RHEL AWS
> instance):
>
> [192] "NSE/YESBANK"
> [193] "NSE/ZEEL"
>
> Why is this happening? How can I get the return object as a contiguous list?
> Very many thanks for your time and effort...
> yours sincerely,
> AKSHAY M KULKARNI
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email]<mailto:[hidden email]> 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, reproducible code.
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email]<mailto:[hidden email]> 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, reproducible code.
______________________________________________
[hidden email]<mailto:[hidden email]> 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, reproducible code.


        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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, reproducible code.