R Program to create vector of numeric, complex, logical and character types of length 6

R Program to create vector of numeric, complex, logical and character types of length 6.